package com.fenghuajueli.idiomppp.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "idiomLib", createInDb = false)
public class IdiomShiYiEntity {

    @Id
    @Property(nameInDb = "idiom")
    private String idiom;
    @Property(nameInDb = "standingInitial")
    private String standingInitial;
    @Property(nameInDb = "pronounce")
    private String pronounce;
    @Property(nameInDb = "explain")
    private String explain;
    @Property(nameInDb = "provenance")
    private String provenance;
    @Property(nameInDb = "level")
    private String level;
    @Property(nameInDb = "category")
    private String category;

    @Generated(hash = 421665177)
    public IdiomShiYiEntity(String idiom, String standingInitial, String pronounce,
                            String explain, String provenance, String level, String category) {
        this.idiom = idiom;
        this.standingInitial = standingInitial;
        this.pronounce = pronounce;
        this.explain = explain;
        this.provenance = provenance;
        this.level = level;
        this.category = category;
    }

    @Generated(hash = 338685808)
    public IdiomShiYiEntity() {
    }

    public String getIdiom() {
        return this.idiom;
    }

    public void setIdiom(String idiom) {
        this.idiom = idiom;
    }

    public String getStandingInitial() {
        return this.standingInitial;
    }

    public void setStandingInitial(String standingInitial) {
        this.standingInitial = standingInitial;
    }

    public String getPronounce() {
        return this.pronounce;
    }

    public void setPronounce(String pronounce) {
        this.pronounce = pronounce;
    }

    public String getExplain() {
        return this.explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getProvenance() {
        return this.provenance;
    }

    public void setProvenance(String provenance) {
        this.provenance = provenance;
    }

    public String getLevel() {
        return this.level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getCategory() {
        return this.category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "IdiomShiYiEntity{" +
                "idiom='" + idiom + '\'' +
                ", standingInitial='" + standingInitial + '\'' +
                ", pronounce='" + pronounce + '\'' +
                ", explain='" + explain + '\'' +
                ", provenance='" + provenance + '\'' +
                ", level='" + level + '\'' +
                ", category='" + category + '\'' +
                '}';
    }
}
